package com.lzx.makeFriend.service;

import com.lzx.common.utils.R;
import com.lzx.makeFriend.entity.Attention;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lzx
 * @since 2022-10-24
 */
public interface AttentionService extends IService<Attention> {

    //关注其他人
    R attention(Attention attention);

    //获取当前用户已关注的人
    R getUserAttentionById(Long userId);

    //获取当前用户关注的人发表的问题
    R getUserAttentionPublishProblem(Long userId);
}
